package com.example.javasample.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 交通工具
 *
 * @author Kylin
 */
@Schema(name = "交通工具", description = "交通工具对象")
@TableName("vehicle")
@Data
@EqualsAndHashCode(callSuper = true)
public class VehicleDO extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "年份")
    private Integer year;

    @Schema(description = "类型：1-轿车，2-面包车，3-卡车")
    private Integer vehicleType;

}
